package com.quanquan.parking.ketop.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @ClassName:UserDisCount
 * @Description:TODO
 * @Author:xiongjunbao
 * @Date:2019/12/30 10:16
 * @Version 1.0
 */
@Data
@Entity
@Table(name = "oo_user_discount")
public class UserDisCount implements Serializable {

    @Id
    @Column(name = "id", unique = true, length = 64)
    private String id;

    /**
     * 0-生效 1-不生效
     */
    private Integer status;

    /**
     * 会员优惠时长
     */
    private Integer userFreeTime;

    /**
     * 会员优惠金额
     */
    private Integer userFreeValue;

    private String createTime;

    private String updateTime;

    /**
     * 规则生效时间起
     */
    private String startTime;

    /**
     * 规则生效时间止
     */
    private String endTime;

}
